package org.minbox.framework.microservice.common.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import org.minbox.framework.microservice.common.entity.OrderInfo;

/**
 * 订单信息
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DOrderInfo extends TableExpression<OrderInfo> {

    public DOrderInfo(String root) {
        super(root);
    }

    public static DOrderInfo DSL() {
        return new DOrderInfo("order_info");
    }

    /**
     * 
     */
    public ColumnExpression id = new ColumnExpression("oi_id", this);
    /**
     * 订单号
     */
    public ColumnExpression number = new ColumnExpression("oi_number", this);
    /**
     * 商品编号
     */
    public ColumnExpression goodId = new ColumnExpression("oi_good_id", this);
    /**
     * 用户编号
     */
    public ColumnExpression userId = new ColumnExpression("oi_user_id", this);
    /**
     * 总价
     */
    public ColumnExpression totalPrice = new ColumnExpression("oi_total_price", this);
    /**
     * 购买数量
     */
    public ColumnExpression buyCount = new ColumnExpression("oi_buy_count", this);
    /**
     * 添加时间
     */
    public ColumnExpression createTime = new ColumnExpression("oi_create_time", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{id, number, goodId, userId, totalPrice, buyCount, createTime};
    }

}

